//package com.lch.webdemo.filter;
//
//import org.sitemesh.builder.SiteMeshFilterBuilder;
//import org.sitemesh.config.ConfigurableSiteMeshFilter;
//
///**
// * @author: liuchenhui
// * @create: 2019-01-14 10:07
// **/
//public class WebSiteMeshFilter extends ConfigurableSiteMeshFilter {
//
//    public static final String DECORATOR_URL = "/decorator/index";
//
//    /**
//     * decoratorPath 第一个参数配置被模板装饰的页面  第二个参数为模板页
//     */
//    @Override
//    protected void applyCustomConfiguration(SiteMeshFilterBuilder builder) {
//        builder.addExcludedPath("/")//不需要装饰的路径
//                .addExcludedPath(DECORATOR_URL);
//    }
//}
